let baseUrl

//process.env.NODE_ENV是从nodejs环境中获取参数
switch (process.env.NODE_ENV) {
    case 'devlopment':
        baseUrl = 'http://47.114.42.110//api'
        break;
    case 'test':
        baseUrl = 'http://47.114.42.110/api'
        break;
    case 'prod':
        baseUrl = 'http://47.114.42.110/api'
        break;
    default:
        baseUrl = 'http://47.114.42.110/api'
        break;
}

export default{
    baseUrl
}